Transforms forPromptObject


PromptConstantTransform

Formal Parameter Type Default Required Description
backToTop STRING BackToTop.gif false

Deprecated. This formal parameter is no longer used. There are no references to this formal parameter in the code


calendarImage STRING calendar.gif false  
cssPrefix STRING   false Prefix to append to all css class names.
displayDynamicDateAsStatic BOOLEAN false false Enforces application to display the dynamic date as a static date.
If this formal parameter is set to true, then the dynamic date (e.g. Today + 1) will not be displayed as a complex answer. It would be resolved as a static date and the answer would be populated in the text box of the prompt. This flag is used as boolean value.
errorImage STRING promptError_white.gif false  
levelFlag INTEGER 4095 false Specifies what fields in prompt question are displayed.
Prompt question is broken down in four visible fields: title, meaning, restriction and content. Multiple fields can be displayed at the same time. Which fields to be displayed is indicated by a bit-wise flag.
This flag is used as bit-wise value.
Allowed Values:
  • Title = LEVEL_SHOW_TITLE
  • Meaning = LEVEL_SHOW_MEANING
  • Restriction = LEVEL_SHOW_RESTRICTION
  • Content = LEVEL_SHOW_CONTENT
  • Back to Top = LEVEL_SHOW_TITLE_BACKTOTOP
  • Show all = LEVEL_SHOW_ALL

For complete list, refer to EnumPromptLevelFlags
Usage:
For example, if you want to specify name and owner, then you would specify (1 + 4 = 5) Default value is LEVEL_SHOW_ALL
markDefaultAnswerAsComplex BOOLEAN false false Enforces application to mark given default answer, if exists, as complex.
Complex default answers are those that can't be displayed with given prompt style because of its complexity. Most likely, these kind of answers are displayed below prompt question and expanded to corresponding expression format. This flag overrules prompt definition by marking complex given default answer.
This flag is used as boolean value.
showRequired BOOLEAN true false Specifies whether or not to display 'Required' message at the end of prompt title.
'Required' message is static and it's displayed along with prompt title. This message can be either displayed or not.
This flag is used as boolean value.
timeFieldFormat INTEGER 0 false This formal parameter specifies the format of the time field in DHTML mode.
The values can be one of the following This flag is used as integer value.